package com.sanjiahantang.youjiarole.module.me.order.beans;

import com.sanjiahantang.youjiarole.base.BaseBean;
import com.sanjiahantang.youjiarole.module.common.beans.CartGoodsBean;
import com.sanjiahantang.youjiarole.module.me.address.beans.AddressBean;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

/**
 * Created by zy on 2017/9/27.
 */

public class OrderBean extends BaseBean {

    private Data data;

    public Data getData() {
        return data;
    }

    public void setData(Data data) {
        this.data = data;
    }

    public static class Data implements Cloneable {
        private List<CartGoodsBean.Data> goods;
        private AddressBean.Data address;
        private String remain;
        private CreateOrderPost.OrderInvoiceInfoDtoBean invoice;
        private String consumerMessage;
        private int isShoppingCartOrder;
        private int state;
        private HashMap<String,String> jdOrderInfo;
        private ArrayList<HashMap<String,String>> mOrderInfo;

        public String getRemain() {
            return remain;
        }

        public void setRemain(String remain) {
            this.remain = remain;
        }

        public int getState() {
            return state;
        }

        public void setState(int state) {
            this.state = state;
        }

        public int getIsShoppingCartOrder() {
            return isShoppingCartOrder;
        }

        public void setIsShoppingCartOrder(int isShoppingCartOrder) {
            this.isShoppingCartOrder = isShoppingCartOrder;
        }

        public CreateOrderPost.OrderInvoiceInfoDtoBean getInvoice() {
            return invoice;
        }

        public void setInvoice(CreateOrderPost.OrderInvoiceInfoDtoBean invoice) {
            this.invoice = invoice;
        }

        public AddressBean.Data getAddress() {
            return address;
        }

        public void setAddress(AddressBean.Data address) {
            this.address = address;
        }

        public List<CartGoodsBean.Data> getGoods() {
            return goods;
        }

        public void setGoods(List<CartGoodsBean.Data> goods) {
            this.goods = goods;
        }

        public String getConsumerMessage() {
            return consumerMessage;
        }

        public void setConsumerMessage(String consumerMessage) {
            this.consumerMessage = consumerMessage;
        }

        public HashMap<String, String> getJdOrderInfo() {
            return jdOrderInfo;
        }

        public void setJdOrderInfo(HashMap<String, String> jdOrderInfo) {
            this.jdOrderInfo = jdOrderInfo;
        }

        public ArrayList<HashMap<String, String>> getmOrderInfo() {
            return mOrderInfo;
        }

        public void setmOrderInfo(ArrayList<HashMap<String, String>> mOrderInfo) {
            this.mOrderInfo = mOrderInfo;
        }

        @Override
        public Data clone() throws CloneNotSupportedException {
            return (Data) super.clone();
        }
    }

    public static class Invoice{
        private String title;
        private String taxNo;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getTaxNo() {
            return taxNo;
        }

        public void setTaxNo(String taxNo) {
            this.taxNo = taxNo;
        }
    }
}
